import request from "@/utils/request";
import defaultSettings from "@/settings";

//往账大小额查询列表
export const apiUrlConfig = {
  queryUrl: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/hvpsBepsBase/baseQuery/HvpsAndBepsBusinessDetailQuery/search`,
  exportUrl: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/hvpsBepsBase/baseQuery/HvpsAndBepsBusinessDetailQuery/search`,
  delUrl: `${defaultSettings.ctx.cnapsApp} `,
};

//往账大小额查询明细
export function detail(params) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/hvpsBepsBase/baseQuery/HvpsAndBepsBusinessDetailQuery/detail`,
    method: "get",
    params,
  });
}
//即时转账查询明细(新)
export function detail141(params) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/instantTransfer/InstantTransferQuery/detail`,
    method: "get",
    params,
  });
}
//即时转账查询明细
export function detail141Old(params) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/instantTransfer/InstantTransferQueryOld/detail`,
    method: "get",
    params,
  });
}

//往账被拒交易删除
export function delTxn(data) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/hvpsBepsBase/baseModify/HvpsBepsCreditModify/delete`,
    method: "get",
    params: data,
  });
}

//根据业务类型查询明细列表
export function detailByCode(params) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/hvpsBepsBase/baseQuery/HvpsAndBepsBusinessDetailQuery/searchByCode`,
    method: "post",
    params,
  });
}

//往账大小额查询列表
export const apiUrlConfigB307 = {
  queryUrl: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/hvpsBepsBase/baseQuery/HvpsAndBepsBusinessDetailQuery/searchB307`,
};
export const apiUrlConfigB104 = {
  queryUrl: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/hvpsBepsBase/baseQuery/HvpsAndBepsBusinessDetailQuery/searchB104`,
};
export const apiUrlConfigB309 = {
  queryUrl: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/hvpsBepsBase/baseQuery/HvpsAndBepsBusinessDetailQuery/searchB309`,
};


export const apiUrlConfigA307 = {
  queryUrl: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/hvpsBepsBase/baseQuery/HvpsAndBepsBusinessDetailQuery/searchA307`,
};
export const apiUrlConfigA104 = {
  queryUrl: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/hvpsBepsBase/baseQuery/HvpsAndBepsBusinessDetailQuery/searchA104`,
};
